package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.University;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface UniversityMapper {
    int deleteByPrimaryKey(Long id);

    int insert(University entity);

    University selectByPrimaryKey(Long id);

    List<University> selectAll();

    int updateByPrimaryKey(University entity);

    Integer query4Count(QueryObject qo);

    List<University> query4List(QueryObject qo);

    void changState(Long id);
}